import request from '@/utils/request'

// 查询银行客户流水列表
export function listBankCus(query) {
  return request({
    url: '/bill/bankCus/list',
    method: 'get',
    params: query
  })
}

// 查询银行客户流水详细
export function getBankCus(id) {
  return request({
    url: '/bill/bankCus/' + id,
    method: 'get'
  })
}

// 新增银行客户流水
export function addBankCus(data) {
  return request({
    url: '/bill/bankCus',
    method: 'post',
    data: data
  })
}

// 修改银行客户流水
export function updateBankCus(data) {
  return request({
    url: '/bill/bankCus',
    method: 'put',
    data: data
  })
}

// 删除银行客户流水
export function delBankCus(id) {
  return request({
    url: '/bill/bankCus/' + id,
    method: 'delete'
  })
}
